libxl: use libxl__xs_read_checked() instead or raw xs_read() in do_domain_soft_reset()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 22 Mar 2017 13:59:45 +0000 (14:59 +0100)
committerWei Liu <wei.liu2@citrix.com>
Thu, 23 Mar 2017 12:01:47 +0000 (12:01 +0000)
commitfd9ca53f6669a7bef6ed4b22b3bcfe634a5abf74
tree22311e4f918b49a90f01ff569b0cca95d7b4df93
parent841e86b8e11bc1afa625f18af7b7757d278bd20e
libxl: use libxl__xs_read_checked() instead or raw xs_read() in do_domain_soft_reset()

Replace raw xs_read() calls with libxl__xs_read_checked() and bail on error.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_create.c